package com.shisfish.library.Impl;

import java.util.List;

import org.springframework.context.ApplicationContext;

import com.shisfish.library.Inter.ILoanRemindInter;
import com.shisfish.library.Model.LoanRemind;
import com.shisfish.library.Utils.Global.GetACXmlUtils;

public class LoanRemindImpl implements ILoanRemindInter {

	private ApplicationContext ac = GetACXmlUtils.getACXml();
	private ILoanRemindInter mapper = (ILoanRemindInter) ac.getBean("loanRemindMapper");
	
	@Override
	public int insertOne(LoanRemind t) {
		// TODO Auto-generated method stub
		return mapper.insertOne(t);
	}

	@Override
	public int insertAll(List<LoanRemind> list) {
		// TODO Auto-generated method stub
		return mapper.insertAll(list);
	}

	@Override
	public int updateOne(LoanRemind t) {
		// TODO Auto-generated method stub
		return mapper.updateOne(t);
	}

	@Override
	public int updateAll(List<LoanRemind> list) {
		// TODO Auto-generated method stub
		return mapper.updateAll(list);
	}

	@Override
	public List<LoanRemind> selectById(int id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<LoanRemind> selectByKey(String key) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int countAll() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<LoanRemind> selectAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int deleteOneById(int id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteAllById(List<?> ids) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteOneByKey(String key) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteAllByKey(List<?> keys) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<LoanRemind> selectByEMIS(String employee, String isbn) {
		// TODO Auto-generated method stub
		return mapper.selectByEMIS(employee, isbn);
	}

	@Override
	public List<LoanRemind> selectByStatus(int status) {
		// TODO Auto-generated method stub
		return mapper.selectByStatus(status);
	}

	@Override
	public int deleteByEMIS(String employee, String isbn) {
		// TODO Auto-generated method stub
		return mapper.deleteByEMIS(employee, isbn);
	}

	@Override
	public List<LoanRemind> selectByType(int type) {
		// TODO Auto-generated method stub
		return mapper.selectByType(type);
	}

}
